package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.AlarmRule;
import com.ruoyi.system.domain.AlarmRulePersonVehicle;
import com.ruoyi.system.domain.request.alarmrule.AlarmRulePersonVehicleParam;
import com.ruoyi.system.domain.request.alarmrule.BindAlarmRuleParam;
import com.ruoyi.system.domain.vo.alarmrule.AlarmRuleObject;

import java.util.List;

/**
 * 告警规则绑定人和车的中间Service接口
 * 
 * @author wp
 * @date 2023-08-10
 */
public interface IAlarmRulePersonVehicleService extends IService<AlarmRulePersonVehicle> {

    public List<AlarmRuleObject> selectList(AlarmRulePersonVehicleParam param);

    /**
     * 绑定监管对象
     * @param param
     */
    public void bindObject(BindAlarmRuleParam param);

    /**
     * 监管对象绑定的报警规则列表
     */
    public List<AlarmRule> bindingList(Long objectId);

}
